home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / zvt1_11u.lha / ZVT / WFP.doc < prev    next >
Text File  |  1995-02-04  |  580b  |  23 lines

  1. WFP is short for 'WaitForPort', a program that waits for a named port the
  2. stated number of seconds. If 'seconds' is zero the program simply checks
  3. for the existence of the port and exits.
  4.  
  5. When the port is created within the allocated time, the program returns OK,
  6. otherwise it returns WARN (error code 5).
  7.  
  8. Use this program to wait for a ARexx host to come up.
  9.  
  10. Example:
  11.  
  12. Run ZVT
  13. WFP ZVT.1 30
  14. if warn
  15.   echo "ZVT did not start"
  16.   quit
  17.  else
  18.   rx "address zvt.1;hide;receiveron"
  19. endif
  20.  
  21. Tries to start ZVT and switches it into answer mode if it gets started
  22. within thirty seconds.
  23.